import {useState } from 'react'
import './App.css'
import Home from "../src/view/home/home"
import Index from "../src/view/index/index"
import Father from "../src/view/father/father"
import Children from "../src/view/children/children"
import RouterView from './router/index';

import {Link} from 'react-router-dom'
function App() {
  const [count, setCount] = useState(0)
  return (
    <div className="App">
      <Link to="/Children">children</Link>|
      <Link to="/Father">father</Link>|
      <Link to="/Home">home</Link>|
      <Link to="/Index">index</Link>
      <RouterView></RouterView>
    </div>
  )
}

export default App
